<div class="add"><a class="zAdd" href="/admin/case_add">添加案例</a></div>
<div class="sub">
	<div class="sub_id_6">序号</div>
	<div class="sub_title_6">标题</div>
	<div class="sub_class_6">分类</div>
	<div class="sub_promote_6">推荐</div>
	<div class="sub_creattime_6">创建时间</div>
	<div class="sub_edit_6">操作</div>
</div>
<div class="content">
<?php foreach($case as $key =>$value):?>
	<div class="content_list">
		<div class="sub_id_6"><?=$key+1?></div>
		<div class="sub_title_6"><?=$value['Case']['title']?></div>
		<div class="sub_class_6"><?=$value['Case']['class_name']?></div>
		<div class="sub_promote_6"><?=$value['Case']['case_index']?></div>
		<div class="sub_creattime_6"><?= date('Y-m-d H:i:s',strtotime($value['Case']['create_time'])) ?></div>
		<div class="sub_edit_6"><a class="zChange" href="/admin/product_add?id=<?=$value['Case']['id']?>">修改</a>&nbsp;&nbsp;<form method='post' action='/admin/product_manage?id=<?=$value['Case']['id']?>&action=del' class="dataForm"><button type="submit" class="zDelect">删除</button></form></div>
	</div>
<?php endforeach;?>
</div>

<?php $pagination_params = $this->Paginator->params(); 
	if($pagination_params['pageCount'] > 1):?>
    <?= $this->element('pagination'); ?>               
<?php endif; ?>